package com.myidis.response;

public class PeakValleyRes {

	private double peakOrder;
	private double valleyOrder;
	private double peakVariance;
	private double valleyVariance;
	
	public PeakValleyRes(double peakOrder, double valleyOrder, double peakVariance, double valleyVariance)
    {
        this.peakOrder = peakOrder;
        this.valleyOrder = valleyOrder;
        this.peakVariance = peakVariance;
        this.valleyVariance = valleyVariance;
    }

	public double getPeakOrder() {
		return peakOrder;
	}

	public void setPeakOrder(double peakOrder) {
		this.peakOrder = peakOrder;
	}

	public double getValleyOrder() {
		return valleyOrder;
	}

	public void setValleyOrder(double valleyOrder) {
		this.valleyOrder = valleyOrder;
	}

	public double getPeakVariance() {
		return peakVariance;
	}

	public void setPeakVariance(double peakVariance) {
		this.peakVariance = peakVariance;
	}

	public double getValleyVariance() {
		return valleyVariance;
	}

	public void setValleyVariance(double valleyVariance) {
		this.valleyVariance = valleyVariance;
	}
	
	public String toString() {
		return "峰平均阶数为 " + this.peakOrder + "， 标准差为 " + this.peakVariance + ", 谷平均阶数为  " + this.valleyOrder + "，标准差为" + this.valleyVariance;
	}
}
